var element, layer, form;
/*广告图片切换*/
$(function () {
	layui.use(['layer', 'form', 'element', 'carousel'], function () {
		element = layui.element, layer = layui.layer, form = layui.form, carousel = layui.carousel;
		form.on('radio()', function (data) {
			$('#hidden-workType').val(data.value);
		});
		//改变下时间间隔、动画类型、高度
		carousel.render({
			elem: '#banner',
			interval: 2400,
			anim: 'default',
			height: '480px',
			width: '100%',
		});
	});
});
